package cn.xiaov.domain;

import java.io.Serializable;

public class Employee implements Serializable {

    private static final long serialVersionUID = -2409001679665488385L;

    private Integer id;
    private String ename;
    private Integer gender;
    private Integer dpid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getDpid() {
        return dpid;
    }

    public void setDpid(Integer dpid) {
        this.dpid = dpid;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", ename='" + ename + '\'' +
                ", gender=" + gender +
                ", dpid=" + dpid +
                '}';
    }
}
